package org.scirp.ijmis.dao.common.impl;

import java.util.List;

import org.scirp.ijmis.dao.base.impl.BaseDAOImpl;
import org.scirp.ijmis.dao.common.IPaymentModeDAO;
import org.scirp.ijmis.po.common.PaymentMode;

public class PaymentModeDAOImpl extends BaseDAOImpl<PaymentMode> implements IPaymentModeDAO {

	private static final String className = PaymentModeDAOImpl.class.toString();

	public List<PaymentMode> selectAll() {

		String hql = "from PaymentMode order by pid asc";
		return super.ExecuteQuery(hql, className + "-->selectAll");
	}

	public PaymentMode selectById(Object id) {

		return (PaymentMode) super.selectById(id, className + "-->selectById");
	}

}
